<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/8/30
  Time: 16:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--导入tablib指令--%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--

   --%>
<div style="float: right;background-color: darkgrey">
<c:if test="${empty admin}">
    <a href="#">登录</a>
    <a href="#">个人中心</a>
</c:if>
<c:if test="${ not empty admin}">
     欢迎,${admin.adminname}登录
    <a href="#">[退出]</a>
</c:if>
</div>

</body>
</html>
